//
//  SmallDecisionsAlertViewController.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/7/26.
//

#import "SmallDecisionsBaseViewController.h"

NS_ASSUME_NONNULL_BEGIN
typedef enum : NSUInteger {
    
    SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS_OTHER,
    SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS_CANCEL

} SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS;

@interface SmallDecisionsAlertModalTransition : NSObject <UIViewControllerTransitioningDelegate>

@end

@interface SmallDecisionsAlertViewController : SmallDecisionsBaseViewController
+ (void)showAlertWithTitle:(NSString * _Nullable)title
                   message:(NSString * _Nullable)message
                cancelText:(NSString * _Nullable)cancelText
                 otherText:(NSString * _Nullable)otherText
         dismissCompletion:(void(^ _Nullable)(SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS event))dismissCompletion;

+ (void)showAlertWithTitle:(NSString * _Nullable)title
                   message:(NSString * _Nullable)message
                 otherText:(NSString * _Nullable)otherText
         dismissCompletion:(void(^ _Nullable)(SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS event))dismissCompletion;

+ (void)showAlertWithMessage:(NSString * _Nullable)message
                  cancelText:(NSString * _Nullable)cancelText
                   otherText:(NSString * _Nullable)otherText
           dismissCompletion:(void(^ _Nullable)(SMALL_DECISIONS_PROJECT_ALERT_HANDLE_EVENTS event))dismissCompletion;
@end

NS_ASSUME_NONNULL_END
